package com.taysear.domain;

import java.io.Serializable;
import java.util.List;

@SuppressWarnings("serial")
public class Role implements Serializable{

	private Integer roleId;
	private String rolename;
	
	private List<RolePermission> rolesPermissions;
	
	public Integer getRoleId() {
		return roleId;
	}
	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}
	public String getRolename() {
		return rolename;
	}
	public void setRolename(String rolename) {
		this.rolename = rolename;
	}
	public List<RolePermission> getRolesPermissions() {
		return rolesPermissions;
	}
	public void setRolesPermissions(List<RolePermission> rolesPermissions) {
		this.rolesPermissions = rolesPermissions;
	}

	@Override
    public String toString() {
        return rolename;
    }
}
